﻿using B.S.NewMedical.Domain.Order;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.Order
{
    public class PrescriptionPageCommand:IRequest<ApiPageing<PrescriptionModel>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Index { get; set; } = 1;
        
        /// <summary>
        /// 页大小
        /// </summary>
        public int Size { get; set; } = 10;
        
        /// <summary>
        /// 患者姓名（模糊查询）
        /// </summary>
        public string? Patient { get; set; }
    }
}
